import { setTimeout } from "core-js"

let actions = {
    Actaddnum(context) {
        setTimeout(function() {
            context.commit('addnum')
        }, 3000)
    },
    ActaddnumAge(context, num) {
        setTimeout(function() {
            context.commit('addnumAge', num)
        }, 3000)
    }
}
export default actions